package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.QrCodeUrl;
import org.apache.ibatis.annotations.Select;

public interface QrCodeUrlMapper extends MyMapper<QrCodeUrl> {

    /**
     *根据uuid获取relation
     */
    @Select(value = "select * from t_qr_code_url  where `data_key` = #{dataKey}")
    QrCodeUrl  selectByKey(String dataKey);

}
